package com.zt.business.service;

import com.zt.model.entity.Log;
import com.zt.model.mapper.LogMapper;

import java.util.List;

public class LogService {
    private LogMapper logMapper;

    public int insert(Log pojo){
        return logMapper.insert(pojo);
    }

    public int insertList(List< Log> pojos){
        return logMapper.insertList(pojos);
    }

    public List<Log> select(Log pojo){
        return logMapper.select(pojo);
    }

    public int update(Log pojo){
        return logMapper.update(pojo);
    }

}
